using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 添加剂表
    /// </summary>
    [Table("AdditiveModel")]
    public class AdditiveModel : BaseEntity
    {
        /// <summary>
        /// 添加剂名称
        /// </summary>
        [Required]
        [StringLength(200)]
        public string AdditiveName { get; set; }

        /// <summary>
        /// 添加剂图片
        /// </summary>
        [StringLength(500)]
        public string AdditivePic { get; set; }
    }
} 